import React from 'react';
import { Route } from 'react-router-dom';

import Home from '../Home';
import Login from '../Login';
import Sql from '../Sql';
import Sql1 from '../Sql1';
import Sql2 from '../Sql2';

export default [
    {
        path: '/login',
        components: Login,
        key: 'login',
        exact: true
    },
    {
        path: '/',
        components: Home,
        loadData: Home.loadData,
        key: 'home',
        //exact: true,
        routes:[{
            path: '/eee',
            components: Sql,
            exact: true,
            key: 'login'
        }]
    }
];
